﻿<%@ Page Language="C#" ValidateRequest="false" AutoEventWireup="true" CodeBehind="item6v.aspx.cs" Inherits="MaluJg.web.ProjectFund.item6v" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>

    <script type="text/javascript" src="../Scripts/jquery.js"></script>

    <style>
        body
        {
            font-size: 14.0pt;
            font-family: 宋体;
        }
        .MsoNormalTable tr
        {
            height: 35px;
        }
        .Item6Text
        {
            border: 0px;
            font-size: 12pt;
            font-family: 宋体;
            width: 95%;
        }
         .Item6TextLine
        {
            border: 0px;
            border-bottom :1px solid #303030;
            font-size: 12pt;
            font-family: 宋体;
            width: 95%;
        }
        .btnitem3
        {
            border: 1px solid #000;
        }
    </style>

    <script>
        function addNew1() {

            $("#tr1").after($("#template1>tbody").html().replace(/^t0/ig, '1'));
        }
        function addNew2() {

            $("#tr2").after($("#template2>tbody").html().replace(/^t0/ig, '1'));
        }
        function deleteTr(obj) {
            $(obj).parent().parent().parent().remove();
        }
        $(document).ready(function() {
            if ($("#tbContents1").val() == '') {

                addNew1();
                addNew1();
                addNew1();
                addNew1();
                addNew1();
            }
            else {
                $("#tr1").after($("#tbContents1").val());
            }
            if ($("#tbContents2").val() == '') {

                addNew2();
                addNew2();
                addNew2();
                addNew2();
                addNew2();
            }
            else {
                $("#tr2").after($("#tbContents2").val());
            }
        });
        function check() {
            var temp = '';
            $("#tbl1> tbody > tr[name='template1']").each(function() {

                temp += "<tr name='template1'>" + $(this).html() + "</tr>";
            }
         );

            $("#tbContents1").val(temp); temp = '';
            $("#tbl2> tbody > tr[name='template2']").each(function() {

                temp += "<tr name='template2'>" + $(this).html() + "</tr>";
            }
         );
            $("#tbContents2").val(temp);
            return true;

        }
    </script>

</head>
<body scroll="auto">
    <form id="form1" runat="server">
    <div style="text-align: center; margin: 0px">
        <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" style="display: none">
            <tr>
                <td>
                    <asp:TextBox runat="server" ID="tbContents2" TextMode="MultiLine" Rows="6" Width="80%"></asp:TextBox>
                    <asp:TextBox runat="server" ID="tbContents1" TextMode="MultiLine" Rows="6" Width="80%"></asp:TextBox>
                    &nbsp;&nbsp;<asp:Button ID="btnSave" runat="server" OnClick="btnSave_Click" OnClientClick="return check()"
                        Text="保存"></asp:Button>
                </td>
            </tr>
        </table>
        <p align="center">
            <b>商务标得分汇总表</b></p>
        <table class="MsoNormalTable" id="tbl1" border="1" cellspacing="0" cellpadding="0"
            width="631" style='width: 473.4pt; border-collapse: collapse; border: none'>
            <tr id="tr1">
                <td width="55" style='border: solid windowtext 1.0pt; '>
                    <p align="center">
                        序号</p>
                </td>
                <td width="172" style='border: solid windowtext 1.0pt; border-left: none; '>
                    <p align="center">
                        投标单位</p>
                </td>
                <td width="164" style='border: solid windowtext 1.0pt; border-left: none; '>
                    <p align="center">
                        投标报价（万元）</p>
                </td>
                <td width="132" style='border: solid windowtext 1.0pt; border-left: none; '>
                    <p align="center">
                        商务标评分价（万元）</p>
                </td>
                <td width="108" style='border: solid windowtext 1.0pt; border-left: none; '>
                    <p align="center">
                        商务标得分</p>
                </td>
                <td width="40" style='border: solid windowtext 1.0pt; border-left: none; '>
                    &nbsp;
                </td>
            </tr>
            
            <tr style='height: 63.5pt'>
                <td  align="left" colspan="2"  style=' border: solid windowtext 1.0pt;
                    border-top: none; ; height: 63.5pt'>
                    <p>
                        评委签字：</p>
                </td>
                <td colspan="4" style=' border: solid windowtext 1.0pt;
                    border-top: none; ; height: 63.5pt'>
                <asp:TextBox runat="server" ID="tbPingWei1" TextMode="MultiLine" Rows="4" Width="440"  CssClass="Item6Text"></asp:TextBox>
                </td>
            </tr>
        </table>
        <br />
        <table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="619"
            style='width: 464.4pt; border-collapse: collapse; border: none'>
            <tr>
                <td align="right">
                    <p align="right" style='text-align: right'>
                        日期：<u><asp:TextBox runat="server" ID="tbYear1" Width="70"  CssClass="Item6TextLine"></asp:TextBox></u>年<u><asp:TextBox runat="server" ID="tbMonth1" Width="50"  CssClass="Item6TextLine"></asp:TextBox></u>月<u><asp:TextBox runat="server" ID="tbDay1" Width="50"  CssClass="Item6TextLine"></asp:TextBox></u>
                        日</p>
                    <p align="center">
                        <b>&nbsp;</b></p>
                </td>
            </tr>
        </table>
      
        <table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="619"
            style='width: 464.4pt; border-collapse: collapse; '>
            <tr>
                <td align="left">
                    <p align="left">
                        项目名称：<asp:TextBox runat="server" ID="tbProjectName"  Width="400" CssClass="Item6Text"></asp:TextBox></p>
                    <p align="left">
                        商务标及技术标：<asp:TextBox runat="server" ID="tbBiao" Width="400"  CssClass="Item6Text"></asp:TextBox></p>
                    <p align="center">
                        <b>商务标及技术标总得分汇总表</b></p>
                    <p align="center">
                        <b>&nbsp;</b></p>
                </td>
            </tr>
        </table>
        <table class="MsoNormalTable" id="tbl2" border="1" cellspacing="0" cellpadding="0"
            width="620" style=' border-collapse: collapse;  '>
            <tr id="tr2">
                <td width="60" style=' border: solid windowtext 1.0pt; '>
                    <p align="center">
                        序号</p>
                </td>
                <td width="260"  style=' border: solid windowtext 1.0pt; border-left: none;'>
                    <p align="center">
                        投标单位</p>
                </td>
                <td width="70" style='border: solid windowtext 1.0pt; border-left: none; '>
                    <p align="center">
                        商务标<br />得分</p>
                </td>
                <td width="70" style='border: solid windowtext 1.0pt; border-left: none; '>
                    <p align="center">
                        技术标<br />得分</p>
                </td>
                <td width="70" style='border: solid windowtext 1.0pt; border-left: none; '>
                    <p align="center">
                        合计<br />总得分</p>
                </td>
                <td width="50" style='border: solid windowtext 1.0pt; border-left: none; '>
                    <p align="center">
                        最终<br />排名</p>
                </td>
                <td width="40" style='border: solid windowtext 1.0pt; border-left: none; '>
                    &nbsp;
                </td>
            </tr>
            <tr style='height: 63.5pt'>
                <td align="left" colspan="2"  style=' border: solid windowtext 1.0pt;
                    border-top: none; ; height: 63.5pt'>
                    <p>
                        评委签字：</p>
                </td>
                <td colspan="5" style=' border: solid windowtext 1.0pt;
                    border-top: none; ; height: 63.5pt'><asp:TextBox runat="server" ID="tbPingwei2" TextMode="MultiLine" Rows="4" Width="440"  CssClass="Item6Text"></asp:TextBox></td>
            </tr>
        </table>
        <br />
        <table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="619"
            style='width: 464.4pt; border-collapse: collapse; border: none'>
            <tr>
                <td align="right">
                    
                   <p align="right" style='text-align: right'>
                        日期：<u><asp:TextBox runat="server" ID="tbYear2" Width="70"  CssClass="Item6TextLine"></asp:TextBox></u>年<u><asp:TextBox runat="server" ID="tbMonth2" Width="50"  CssClass="Item6TextLine"></asp:TextBox></u>月<u><asp:TextBox runat="server" ID="tbDay2" Width="50"  CssClass="Item6TextLine"></asp:TextBox></u>
                        日</p>
                    <p align="center">
                        <b>&nbsp;</b></p>
                </td>
            </tr>
        </table>
     
        <table id="template1" style="display: none">
            <tr name="template1">
                <td>
                    <p align="center">
                        <input type="text" id="t01" name="t01" class="Item6Text" /></p>
                </td>
                <td>
                    <p align="center">
                        <input type="text" id="t02" name="t02" class="Item6Text" /></p>
                </td>
                <td>
                    <p align="center">
                        <input type="text" id="t03" name="t03" class="Item6Text" /></p>
                </td>
                <td>
                    <p align="center">
                        <input type="text" id="t04" name="t04" class="Item6Text" /></p>
                </td>
                <td>
                    <p align="center">
                        <input type="text" id="t05" name="t05" class="Item6Text" /></p>
                </td>
                <td>
              &nbsp;
                </td>
            </tr>
        </table>
        <table id="template2" style="display: none">
            <tr name="template2">
                <td>
                    <p align="center">
                        <input type="text" id="x01" name="x01" class="Item6Text" /></p>
                </td>
                <td>
                    <p align="center">
                        <input type="text" id="x02" name="x02" class="Item6Text" /></p>
                </td>
                <td>
                    <p align="center">
                        <input type="text" id="x03" name="x03" class="Item6Text" /></p>
                </td>
                <td>
                    <p align="center">
                        <input type="text" id="x04" name="x04" class="Item6Text" /></p>
                </td>
                <td>
                    <p align="center">
                        <input type="text" id="x05" name="x05" class="Item6Text" /></p>
                </td>
                <td>
                    <p align="center">
                        <input type="text" id="x06" name="x06" class="Item6Text" /></p>
                </td>
                <td>
                   &nbsp;
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
